package ernie.database;

import java.util.List;

import stock.Sale;

/**
 * @author Filip Lindqvist <buggfille@gmail.com>
 */
public interface Database {
    public void saveEntries(List<Sale> entries);

    public List<Sale> loadEntries(long since, String name);

    public Long getLatestTime(String name);
}
